<template>
    <div class="nav-title">
        <slot ></slot> 
       {{title}}
    </div>
</template>
<script>
export default {
    name:"NavTitle",
    props:{
        title:String
    }
}
</script>
<style lang="scss" scoped>
    .nav-title{
        font-size: 30px;
        line-height: 10vw;
        text-align: center;
        border-bottom: 1px solid#fff;
        background: #eee;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }
</style>
